package com.zk.monitormanagement.bean;

import java.util.List;

public class LoginBean {


    /**
     * msg : 操作成功
     * data : {"picpath":"","loginname":"guo","roleid":"1,2","sex":"2","mobile":"18039136393","nikename":"guowbx","appmenus":[{"menuid":"001","menuname":"通讯录","menuicon":"","menucode":"","points":[{"pointcode":"query","pointicon":"","pointid":"1","pointname":"查看"}]},{"menuid":"002","menuname":"消息","menuicon":"","menucode":"","points":[{"pointcode":"add","pointicon":"","pointid":"3","pointname":"发布"},{"pointcode":"query","pointicon":"","pointid":"2","pointname":"查看"}]}],"type":"1","userid":"2","unitid":"101,90","mobiletype":"0","username":"郭建军","timestamp":"1565940236753"}
     * token : 8f664f77c5a24346bd73c26090bade4c
     * status : 1
     */

    private String msg;
    private DataBean data;
    private String token;
    private String status;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public static class DataBean {
        /**
         * picpath :
         * loginname : guo
         * roleid : 1,2
         * sex : 2
         * mobile : 18039136393
         * nikename : guowbx
         * appmenus : [{"menuid":"001","menuname":"通讯录","menuicon":"","menucode":"","points":[{"pointcode":"query","pointicon":"","pointid":"1","pointname":"查看"}]},{"menuid":"002","menuname":"消息","menuicon":"","menucode":"","points":[{"pointcode":"add","pointicon":"","pointid":"3","pointname":"发布"},{"pointcode":"query","pointicon":"","pointid":"2","pointname":"查看"}]}]
         * type : 1
         * userid : 2
         * unitid : 101,90
         * mobiletype : 0
         * username : 郭建军
         * timestamp : 1565940236753
         */

        private String picpath;
        private String loginname;
        private String roleid;
        private String sex;
        private String mobile;
        private String nikename;
        private String type;
        private String userid;
        private String unitid;
        private String mobiletype;
        private String username;
        private String timestamp;
        private List<AppmenusBean> appmenus;

        public String getPicpath() {
            return picpath;
        }

        public void setPicpath(String picpath) {
            this.picpath = picpath;
        }

        public String getLoginname() {
            return loginname;
        }

        public void setLoginname(String loginname) {
            this.loginname = loginname;
        }

        public String getRoleid() {
            return roleid;
        }

        public void setRoleid(String roleid) {
            this.roleid = roleid;
        }

        public String getSex() {
            return sex;
        }

        public void setSex(String sex) {
            this.sex = sex;
        }

        public String getMobile() {
            return mobile;
        }

        public void setMobile(String mobile) {
            this.mobile = mobile;
        }

        public String getNikename() {
            return nikename;
        }

        public void setNikename(String nikename) {
            this.nikename = nikename;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getUserid() {
            return userid;
        }

        public void setUserid(String userid) {
            this.userid = userid;
        }

        public String getUnitid() {
            return unitid;
        }

        public void setUnitid(String unitid) {
            this.unitid = unitid;
        }

        public String getMobiletype() {
            return mobiletype;
        }

        public void setMobiletype(String mobiletype) {
            this.mobiletype = mobiletype;
        }

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public String getTimestamp() {
            return timestamp;
        }

        public void setTimestamp(String timestamp) {
            this.timestamp = timestamp;
        }

        public List<AppmenusBean> getAppmenus() {
            return appmenus;
        }

        public void setAppmenus(List<AppmenusBean> appmenus) {
            this.appmenus = appmenus;
        }

        public static class AppmenusBean {
            /**
             * menuid : 001
             * menuname : 通讯录
             * menuicon :
             * menucode :
             * points : [{"pointcode":"query","pointicon":"","pointid":"1","pointname":"查看"}]
             */

            private String menuid;
            private String menuname;
            private String menuicon;
            private String menucode;
            private List<PointsBean> points;

            public String getMenuid() {
                return menuid;
            }

            public void setMenuid(String menuid) {
                this.menuid = menuid;
            }

            public String getMenuname() {
                return menuname;
            }

            public void setMenuname(String menuname) {
                this.menuname = menuname;
            }

            public String getMenuicon() {
                return menuicon;
            }

            public void setMenuicon(String menuicon) {
                this.menuicon = menuicon;
            }

            public String getMenucode() {
                return menucode;
            }

            public void setMenucode(String menucode) {
                this.menucode = menucode;
            }

            public List<PointsBean> getPoints() {
                return points;
            }

            public void setPoints(List<PointsBean> points) {
                this.points = points;
            }

            public static class PointsBean {
                /**
                 * pointcode : query
                 * pointicon :
                 * pointid : 1
                 * pointname : 查看
                 */

                private String pointcode;
                private String pointicon;
                private String pointid;
                private String pointname;

                public String getPointcode() {
                    return pointcode;
                }

                public void setPointcode(String pointcode) {
                    this.pointcode = pointcode;
                }

                public String getPointicon() {
                    return pointicon;
                }

                public void setPointicon(String pointicon) {
                    this.pointicon = pointicon;
                }

                public String getPointid() {
                    return pointid;
                }

                public void setPointid(String pointid) {
                    this.pointid = pointid;
                }

                public String getPointname() {
                    return pointname;
                }

                public void setPointname(String pointname) {
                    this.pointname = pointname;
                }
            }
        }
    }
}
